#ifndef _PLUGINMANAGER_H
#define _PLUGINMANAGER_H
#include "ObstacleFactory.h"
#include "RobotFactory.h"

extern "C" class PluginManager {
	public:
	void registerObstacleFactory(ObstacleFactory*);
	void registerRobotFactory(RobotFactory*);
	RobotFactory* getRobotFactory();
	ObstacleFactory* getObstacleFactory();
	void loadPlugin(const char*);
	protected:
	RobotFactory* robotFactory;
	ObstacleFactory* obstacleFactory;
};
#endif
